<div class="title-body-content"><?php echo $title_for_layout; ?></div>
<div class="wrapper-table clearfix">
    <table class="tbl-broking" border="1">
        <tr class="title-tbl" >
            <td class="td-contract-type-name"><?php echo $this->Paginator->sort('name'); ?></td>
            <td class="td-menu"><?php echo __('Actions'); ?></td>
        </tr>
        <?php
            foreach ($inquirers AS $inquirer) {
                $actions  = '<li>' . $this->Html->link(__('Edit'), array(
                    'controller' => 'inquirers',
                    'action' => 'edit',
                    $inquirer['Inquirer']['id'],
                )) . '</li>';
                $actions .= ' ' . $this->Layout->adminRowActions($inquirer['Inquirer']['id']);
                $actions .= ' <li><div class="space3">|</div>' . $this->Html->link(__('Delete'), array(
                    'controller' => 'inquirers',
                    'action' => 'delete',
                    $inquirer['Inquirer']['id'],
                    'token' => $this->params['_Token']['key'],
                ), null, __('Are you sure you want to delete this?')) . '</li>';

                echo '
                    <tr class="line-content-tbl" >
                        <td class="td-currency-name" style="text-align:left; padding-left:5px;">' . $inquirer['Inquirer']['name'] . '</td>
                        <td class="td-action">
                            <ul>
                                ' . $actions . '
                            </ul>
                        </td>
                    </tr>';
            }
        ?>
    </table>
    <div class="wrapper-paging">
        <ul class="ul-paging">
            <?php echo $this->Paginator->numbers(array('tag'=>'li', 'separator' => '')); ?>
        </ul>
        <?php #echo $this->Paginator->counter(array('format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%'))); ?>
    </div>
    <div class="wrapper-button-form">
        <div class="button-form">
            <div class="button-aihre button-blue"><?php echo $this->Html->link(__('NEW'), array('action'=>'add')); ?></div>
        </div>
    </div>
</div>